app.controller("contentController",function($scope,$controller,contentService){
    $scope.contentList = [];
    $scope.findContentByParentId=function(parentId){
        debugger;
        contentService.findContentByParentId(parentId).then(function(result){
            $scope.contentList = result.data;
        });
    }
});